package com.moxie.ocr.network;

import com.moxie.ocr.ocr.utils.MXLog;

public abstract class MXNetRequestCallback {
    private String TAG = MXNetRequestCallback.class.getSimpleName();

    public abstract void completed(String response);

    /**
     * @param httpStatusCode
     * @param error
     */
    public void failed(int httpStatusCode, String error) {
        String result = "Code" + httpStatusCode + ";error:" + error;
        MXLog.i(TAG, result);
    }
}
